<template>
  <router-view v-if="isRouterActive"></router-view>
</template>

<script setup>

import { ref, provide, nextTick,} from 'vue';

// 刷新
const isRouterActive = ref(true);

provide('reload', () => {
  isRouterActive.value = false
  nextTick(() => {
    isRouterActive.value = true
  })
})
</script>

<style>

</style>
